source ~/.config/tmux/tmux-gruvbox-dark.conf
set -g default-terminal "screen-256color"

set-option -g escape-time 50

# vi keybings
set-window-option -g mode-keys vi
bind P paste-buffer
bind-key -T copy-mode-vi v send-keys -X begin-selection
bind-key -T copy-mode-vi y send-keys -X copy-selection
bind-key -T copy-mode-vi r send-keys -X rectangle-toggle
bind h select-pane -L
bind j select-pane -D
bind k select-pane -U
bind l select-pane -R

# new pane path
bind \" split-window -c "#{pane_current_path}"

# floating window
bind -n M-w display-popup -E "tmux new-session -A -s scratch"
